﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.Models.Models
{
    /// <summary>
    /// 费用交付表
    /// </summary>
    [Table("T_Cost_Delivery")]
    public class CostDelivery:BaseEntity
    {
        /// <summary>
        /// 费用ID  费用表外键
        /// </summary>
        public int ExpenseId { get; set; }
        /// <summary>
        /// 实缴金额
        /// </summary>
        public double PaidInAmount { get; set; }
        /// <summary>
        /// 缴费途径
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string PaymentChannel { get; set; }
        /// <summary>
        /// 缴费人
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string Payment { get; set; }
    }
}
